{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}13 Sep 2021, 13:03:01

{com}. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global dviv "fcow_intwar"

. 
. global dv "cow_intwar"

. 
. 
. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly probit $dviv share_wbstocksout loggdp2 d_region2-d_region8 d_year160-d_year211 if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo: quietly ivprobit $dviv loggdp2 d_region2-d_region8 d_year160-d_year211 ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivprobit $dviv loggdp2 d_region2-d_region8 d_year160-d_year211 ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivprobit $dviv loggdp2 d_region1-d_region7 d_year160-d_year211 ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0"

. 
. eststo: quietly probit $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. eststo: quietly ivprobit $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivprobit $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est7{txt} stored)

{com}. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivprobit $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est8{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 140}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 140}
{res}fcow_intwar                                                                                                                                 {txt}
{txt}share_wbst~t{res}       -7.065***      -16.302***      -18.463***      -12.051***       -4.228***      -13.530***      -19.835***      -13.722***{txt}
            {res} {ralign 12:{txt:(}-8.20{txt:)}}    {ralign 12:{txt:(}-16.08{txt:)}}    {ralign 12:{txt:(}-13.35{txt:)}}    {ralign 12:{txt:(}-8.33{txt:)}}    {ralign 12:{txt:(}-4.87{txt:)}}    {ralign 12:{txt:(}-7.41{txt:)}}    {ralign 12:{txt:(}-7.56{txt:)}}    {ralign 12:{txt:(}-6.97{txt:)}}   {txt}

{txt}loggdp2     {res}       -0.346***       -0.355***       -0.363***       -0.436***       -0.172***       -0.231***       -0.295***        0.316** {txt}
            {res} {ralign 12:{txt:(}-10.85{txt:)}}    {ralign 12:{txt:(}-11.39{txt:)}}    {ralign 12:{txt:(}-10.47{txt:)}}    {ralign 12:{txt:(}-4.88{txt:)}}    {ralign 12:{txt:(}-3.66{txt:)}}    {ralign 12:{txt:(}-5.27{txt:)}}    {ralign 12:{txt:(}-6.03{txt:)}}    {ralign 12:{txt:(}2.95{txt:)}}   {txt}

{txt}rx_cow_int~r{res}                                                                       -2.787***       -2.721***       -2.619***       -4.449***{txt}
            {res}                                                                 {ralign 12:{txt:(}-5.81{txt:)}}    {ralign 12:{txt:(}-6.19{txt:)}}    {ralign 12:{txt:(}-4.93{txt:)}}    {ralign 12:{txt:(}-4.15{txt:)}}   {txt}

{txt}tradefrac   {res}                                                                       -0.441***       -0.196           0.033          -0.959*  {txt}
            {res}                                                                 {ralign 12:{txt:(}-3.30{txt:)}}    {ralign 12:{txt:(}-1.51{txt:)}}    {ralign 12:{txt:(}0.26{txt:)}}    {ralign 12:{txt:(}-2.19{txt:)}}   {txt}

{txt}fuelval~1000{res}                                                                       -0.059**        -0.042**        -0.046**        -0.162   {txt}
            {res}                                                                 {ralign 12:{txt:(}-3.04{txt:)}}    {ralign 12:{txt:(}-2.76{txt:)}}    {ralign 12:{txt:(}-2.78{txt:)}}    {ralign 12:{txt:(}-1.29{txt:)}}   {txt}

{txt}pop_million {res}                                                                        0.001*          0.001**        -0.004**         0.001***{txt}
            {res}                                                                 {ralign 12:{txt:(}2.22{txt:)}}    {ralign 12:{txt:(}3.25{txt:)}}    {ralign 12:{txt:(}-2.74{txt:)}}    {ralign 12:{txt:(}3.53{txt:)}}   {txt}

{txt}area_million{res}                                                                        0.059*         -0.024           0.061          -0.295***{txt}
            {res}                                                                 {ralign 12:{txt:(}2.19{txt:)}}    {ralign 12:{txt:(}-0.70{txt:)}}    {ralign 12:{txt:(}1.76{txt:)}}    {ralign 12:{txt:(}-7.07{txt:)}}   {txt}

{txt}ELF         {res}                                                                        0.269*          0.019          -0.275           1.031** {txt}
            {res}                                                                 {ralign 12:{txt:(}2.01{txt:)}}    {ralign 12:{txt:(}0.14{txt:)}}    {ralign 12:{txt:(}-1.79{txt:)}}    {ralign 12:{txt:(}2.86{txt:)}}   {txt}

{txt}growth2_alt {res}                                                                       -0.029***       -0.018*         -0.017*         -0.016   {txt}
            {res}                                                                 {ralign 12:{txt:(}-3.93{txt:)}}    {ralign 12:{txt:(}-2.51{txt:)}}    {ralign 12:{txt:(}-2.11{txt:)}}    {ralign 12:{txt:(}-1.09{txt:)}}   {txt}

{txt}regionpolity{res}                                                                       -0.029           1.232**         1.725**        -0.314   {txt}
            {res}                                                                 {ralign 12:{txt:(}-0.07{txt:)}}    {ralign 12:{txt:(}3.05{txt:)}}    {ralign 12:{txt:(}2.99{txt:)}}    {ralign 12:{txt:(}-0.35{txt:)}}   {txt}

{txt}polity2     {res}                                                                       -0.003          -0.005           0.008           0.062   {txt}
            {res}                                                                 {ralign 12:{txt:(}-0.53{txt:)}}    {ralign 12:{txt:(}-0.86{txt:)}}    {ralign 12:{txt:(}0.77{txt:)}}    {ralign 12:{txt:(}1.62{txt:)}}   {txt}

{txt}polity2_sq  {res}                                                                       -0.010***       -0.010***       -0.006***       -0.029***{txt}
            {res}                                                                 {ralign 12:{txt:(}-8.87{txt:)}}    {ralign 12:{txt:(}-8.37{txt:)}}    {ralign 12:{txt:(}-3.44{txt:)}}    {ralign 12:{txt:(}-5.65{txt:)}}   {txt}

{txt}_cons       {res}        0.507           2.172***        2.115***        3.299***       -0.391           0.564           1.091           0.055   {txt}
            {res} {ralign 12:{txt:(}1.28{txt:)}}    {ralign 12:{txt:(}5.84{txt:)}}    {ralign 12:{txt:(}4.62{txt:)}}    {ralign 12:{txt:(}4.69{txt:)}}    {ralign 12:{txt:(}-0.73{txt:)}}    {ralign 12:{txt:(}1.09{txt:)}}    {ralign 12:{txt:(}1.85{txt:)}}    {ralign 12:{txt:(}0.05{txt:)}}   {txt}
{hline 140}
{res}share_wbst~t                                                                                                                                {txt}
{txt}loggdp2     {res}                       -0.004***       -0.005***        0.001                          -0.003***       -0.005***        0.005   {txt}
            {res}                 {ralign 12:{txt:(}-6.09{txt:)}}    {ralign 12:{txt:(}-6.88{txt:)}}    {ralign 12:{txt:(}0.57{txt:)}}                    {ralign 12:{txt:(}-3.35{txt:)}}    {ralign 12:{txt:(}-5.06{txt:)}}    {ralign 12:{txt:(}1.91{txt:)}}   {txt}

{txt}ptot_share~t{res}                        0.708***        0.568***        1.458***                        0.585***        0.446***        1.363***{txt}
            {res}                 {ralign 12:{txt:(}19.84{txt:)}}    {ralign 12:{txt:(}18.57{txt:)}}    {ralign 12:{txt:(}9.46{txt:)}}                    {ralign 12:{txt:(}13.70{txt:)}}    {ralign 12:{txt:(}9.83{txt:)}}    {ralign 12:{txt:(}7.88{txt:)}}   {txt}

{txt}rx_cow_int~r{res}                                                                                       -0.029**        -0.016          -0.068***{txt}
            {res}                                                                                 {ralign 12:{txt:(}-3.18{txt:)}}    {ralign 12:{txt:(}-1.45{txt:)}}    {ralign 12:{txt:(}-3.36{txt:)}}   {txt}

{txt}tradefrac   {res}                                                                                        0.011***        0.012***        0.013*  {txt}
            {res}                                                                                 {ralign 12:{txt:(}5.22{txt:)}}    {ralign 12:{txt:(}5.23{txt:)}}    {ralign 12:{txt:(}2.04{txt:)}}   {txt}

{txt}fuelval~1000{res}                                                                                       -0.001***       -0.001***        0.007***{txt}
            {res}                                                                                 {ralign 12:{txt:(}-5.13{txt:)}}    {ralign 12:{txt:(}-5.08{txt:)}}    {ralign 12:{txt:(}4.46{txt:)}}   {txt}

{txt}pop_million {res}                                                                                        0.000***        0.000           0.000***{txt}
            {res}                                                                                 {ralign 12:{txt:(}9.19{txt:)}}    {ralign 12:{txt:(}0.35{txt:)}}    {ralign 12:{txt:(}5.32{txt:)}}   {txt}

{txt}area_million{res}                                                                                       -0.006***       -0.005***       -0.004***{txt}
            {res}                                                                                 {ralign 12:{txt:(}-12.36{txt:)}}    {ralign 12:{txt:(}-8.19{txt:)}}    {ralign 12:{txt:(}-4.81{txt:)}}   {txt}

{txt}ELF         {res}                                                                                       -0.016***       -0.014***       -0.019*  {txt}
            {res}                                                                                 {ralign 12:{txt:(}-5.24{txt:)}}    {ralign 12:{txt:(}-4.41{txt:)}}    {ralign 12:{txt:(}-2.15{txt:)}}   {txt}

{txt}growth2_alt {res}                                                                                        0.001***        0.001***        0.002***{txt}
            {res}                                                                                 {ralign 12:{txt:(}6.62{txt:)}}    {ralign 12:{txt:(}5.19{txt:)}}    {ralign 12:{txt:(}4.06{txt:)}}   {txt}

{txt}regionpolity{res}                                                                                        0.121***        0.120***        0.128***{txt}
            {res}                                                                                 {ralign 12:{txt:(}14.24{txt:)}}    {ralign 12:{txt:(}10.28{txt:)}}    {ralign 12:{txt:(}7.38{txt:)}}   {txt}

{txt}polity2     {res}                                                                                       -0.000           0.001**         0.005***{txt}
            {res}                                                                                 {ralign 12:{txt:(}-0.43{txt:)}}    {ralign 12:{txt:(}3.18{txt:)}}    {ralign 12:{txt:(}4.26{txt:)}}   {txt}

{txt}polity2_sq  {res}                                                                                       -0.000***        0.000          -0.001***{txt}
            {res}                                                                                 {ralign 12:{txt:(}-3.90{txt:)}}    {ralign 12:{txt:(}0.39{txt:)}}    {ralign 12:{txt:(}-4.39{txt:)}}   {txt}

{txt}_cons       {res}                        0.083***        0.078***        0.018                           0.007           0.028*         -0.072*  {txt}
            {res}                 {ralign 12:{txt:(}9.07{txt:)}}    {ralign 12:{txt:(}8.78{txt:)}}    {ralign 12:{txt:(}0.91{txt:)}}                    {ralign 12:{txt:(}0.61{txt:)}}    {ralign 12:{txt:(}2.33{txt:)}}    {ralign 12:{txt:(}-2.57{txt:)}}   {txt}
{hline 140}
{res}athrho                                                                                                                                      {txt}
{txt}_cons       {res}                        0.639***        0.610***        0.741***                        0.502***        0.671***        0.953***{txt}
            {res}                 {ralign 12:{txt:(}10.36{txt:)}}    {ralign 12:{txt:(}7.66{txt:)}}    {ralign 12:{txt:(}8.30{txt:)}}                    {ralign 12:{txt:(}5.01{txt:)}}    {ralign 12:{txt:(}4.10{txt:)}}    {ralign 12:{txt:(}6.27{txt:)}}   {txt}
{hline 140}
{res}lnsigma                                                                                                                                     {txt}
{txt}_cons       {res}                       -3.130***       -3.240***       -3.080***                       -3.173***       -3.294***       -3.137***{txt}
            {res}                 {ralign 12:{txt:(}-121.87{txt:)}}    {ralign 12:{txt:(}-152.05{txt:)}}    {ralign 12:{txt:(}-51.89{txt:)}}                    {ralign 12:{txt:(}-109.14{txt:)}}    {ralign 12:{txt:(}-153.23{txt:)}}    {ralign 12:{txt:(}-50.10{txt:)}}   {txt}
{txt}{hline 140}
{txt}N           {res}         4955            4955            3636            1014            4298            4298            3043             983   {txt}
{txt}{hline 140}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global se "r"

. 
. global dviv "fcow_intwar"

. 
. global dv "cow_intwar"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. 
. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global cond "oecd==0 & bmr == 0"

. 
. quietly ivprobit $dviv rx_$dv $main ($endog = $em) if $cond, $se

. 
. margins, at(share_wbstocksout=(0(.005).1)) vsquish pred(pr)
{res}
{txt}Predictive margins{col 51}Number of obs{col 67}= {res}      3043
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Probability of positive outcome, predict(pr)}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.005}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.01}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.015}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.02}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.03}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.035}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.04}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.045}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.05}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.055}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.06}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.065}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.07}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.075}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.08}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.085}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.09}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.095}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .3576025{col 26}{space 2} .0767021{col 37}{space 1}    4.66{col 46}{space 3}0.000{col 54}{space 4} .2072692{col 67}{space 3} .5079359
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .3257375{col 26}{space 2} .0697335{col 37}{space 1}    4.67{col 46}{space 3}0.000{col 54}{space 4} .1890623{col 67}{space 3} .4624127
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .2950792{col 26}{space 2} .0626831{col 37}{space 1}    4.71{col 46}{space 3}0.000{col 54}{space 4} .1722226{col 67}{space 3} .4179358
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .2658065{col 26}{space 2} .0556847{col 37}{space 1}    4.77{col 46}{space 3}0.000{col 54}{space 4} .1566664{col 67}{space 3} .3749466
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .2380695{col 26}{space 2} .0488619{col 37}{space 1}    4.87{col 46}{space 3}0.000{col 54}{space 4}  .142302{col 67}{space 3} .3338371
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .2119881{col 26}{space 2} .0423241{col 37}{space 1}    5.01{col 46}{space 3}0.000{col 54}{space 4} .1290344{col 67}{space 3} .2949419
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .1876504{col 26}{space 2} .0361647{col 37}{space 1}    5.19{col 46}{space 3}0.000{col 54}{space 4} .1167689{col 67}{space 3}  .258532
{txt}{space 10}8  {c |}{col 14}{res}{space 2}  .165113{col 26}{space 2}  .030459{col 37}{space 1}    5.42{col 46}{space 3}0.000{col 54}{space 4} .1054144{col 67}{space 3} .2248116
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .1444019{col 26}{space 2} .0252641{col 37}{space 1}    5.72{col 46}{space 3}0.000{col 54}{space 4} .0948852{col 67}{space 3} .1939185
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .1255142{col 26}{space 2} .0206189{col 37}{space 1}    6.09{col 46}{space 3}0.000{col 54}{space 4} .0851018{col 67}{space 3} .1659265
{txt}{space 9}11  {c |}{col 14}{res}{space 2} .1084206{col 26}{space 2} .0165462{col 37}{space 1}    6.55{col 46}{space 3}0.000{col 54}{space 4} .0759906{col 67}{space 3} .1408506
{txt}{space 9}12  {c |}{col 14}{res}{space 2} .0930687{col 26}{space 2} .0130546{col 37}{space 1}    7.13{col 46}{space 3}0.000{col 54}{space 4} .0674822{col 67}{space 3} .1186553
{txt}{space 9}13  {c |}{col 14}{res}{space 2}  .079386{col 26}{space 2}  .010142{col 37}{space 1}    7.83{col 46}{space 3}0.000{col 54}{space 4} .0595081{col 67}{space 3} .0992639
{txt}{space 9}14  {c |}{col 14}{res}{space 2} .0672836{col 26}{space 2} .0077987{col 37}{space 1}    8.63{col 46}{space 3}0.000{col 54}{space 4} .0519984{col 67}{space 3} .0825689
{txt}{space 9}15  {c |}{col 14}{res}{space 2} .0566605{col 26}{space 2} .0060094{col 37}{space 1}    9.43{col 46}{space 3}0.000{col 54}{space 4} .0448822{col 67}{space 3} .0684388
{txt}{space 9}16  {c |}{col 14}{res}{space 2} .0474066{col 26}{space 2} .0047466{col 37}{space 1}    9.99{col 46}{space 3}0.000{col 54}{space 4} .0381034{col 67}{space 3} .0567098
{txt}{space 9}17  {c |}{col 14}{res}{space 2} .0394065{col 26}{space 2} .0039513{col 37}{space 1}    9.97{col 46}{space 3}0.000{col 54}{space 4} .0316622{col 67}{space 3} .0471508
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .0325426{col 26}{space 2} .0035132{col 37}{space 1}    9.26{col 46}{space 3}0.000{col 54}{space 4} .0256569{col 67}{space 3} .0394283
{txt}{space 9}19  {c |}{col 14}{res}{space 2}  .026698{col 26}{space 2}  .003289{col 37}{space 1}    8.12{col 46}{space 3}0.000{col 54}{space 4} .0202517{col 67}{space 3} .0331443
{txt}{space 9}20  {c |}{col 14}{res}{space 2} .0217589{col 26}{space 2} .0031531{col 37}{space 1}    6.90{col 46}{space 3}0.000{col 54}{space 4}  .015579{col 67}{space 3} .0279387
{txt}{space 9}21  {c |}{col 14}{res}{space 2} .0176163{col 26}{space 2} .0030273{col 37}{space 1}    5.82{col 46}{space 3}0.000{col 54}{space 4} .0116829{col 67}{space 3} .0235497
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. marginsplot, recast(line) recastci(rarea) yline(0)

{text}{p 2 6 2}Variables that uniquely identify margins: share_wbstocksout{p_end}
{res}
{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global cond "oecd==0 & bmr == 1"

. 
. quietly ivprobit $dviv rx_$dv $main ($endog = $em) if $cond, $se

. 
. margins, at(share_wbstocksout=(0(.005).1)) vsquish pred(pr)
{res}
{txt}Predictive margins{col 51}Number of obs{col 67}= {res}       983
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Probability of positive outcome, predict(pr)}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.005}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.01}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.015}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.02}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.03}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.035}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.04}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.045}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.05}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.055}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.06}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.065}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.07}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.075}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.08}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.085}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.09}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.095}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .2826288{col 26}{space 2} .0469429{col 37}{space 1}    6.02{col 46}{space 3}0.000{col 54}{space 4} .1906225{col 67}{space 3} .3746351
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .2653916{col 26}{space 2} .0428382{col 37}{space 1}    6.20{col 46}{space 3}0.000{col 54}{space 4} .1814303{col 67}{space 3} .3493529
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .2486856{col 26}{space 2} .0388628{col 37}{space 1}    6.40{col 46}{space 3}0.000{col 54}{space 4} .1725159{col 67}{space 3} .3248553
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .2325391{col 26}{space 2} .0350434{col 37}{space 1}    6.64{col 46}{space 3}0.000{col 54}{space 4} .1638552{col 67}{space 3} .3012229
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .2169763{col 26}{space 2} .0314051{col 37}{space 1}    6.91{col 46}{space 3}0.000{col 54}{space 4} .1554234{col 67}{space 3} .2785293
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .2020178{col 26}{space 2} .0279715{col 37}{space 1}    7.22{col 46}{space 3}0.000{col 54}{space 4} .1471946{col 67}{space 3}  .256841
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .1876799{col 26}{space 2} .0247649{col 37}{space 1}    7.58{col 46}{space 3}0.000{col 54}{space 4} .1391417{col 67}{space 3} .2362182
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .1739751{col 26}{space 2} .0218064{col 37}{space 1}    7.98{col 46}{space 3}0.000{col 54}{space 4} .1312354{col 67}{space 3} .2167148
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .1609119{col 26}{space 2} .0191165{col 37}{space 1}    8.42{col 46}{space 3}0.000{col 54}{space 4} .1234443{col 67}{space 3} .1983795
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .1484949{col 26}{space 2}  .016715{col 37}{space 1}    8.88{col 46}{space 3}0.000{col 54}{space 4}  .115734{col 67}{space 3} .1812557
{txt}{space 9}11  {c |}{col 14}{res}{space 2} .1367251{col 26}{space 2}  .014621{col 37}{space 1}    9.35{col 46}{space 3}0.000{col 54}{space 4} .1080686{col 67}{space 3} .1653817
{txt}{space 9}12  {c |}{col 14}{res}{space 2} .1256001{col 26}{space 2} .0128507{col 37}{space 1}    9.77{col 46}{space 3}0.000{col 54}{space 4} .1004131{col 67}{space 3} .1507871
{txt}{space 9}13  {c |}{col 14}{res}{space 2} .1151139{col 26}{space 2} .0114151{col 37}{space 1}   10.08{col 46}{space 3}0.000{col 54}{space 4} .0927406{col 67}{space 3} .1374871
{txt}{space 9}14  {c |}{col 14}{res}{space 2} .1052575{col 26}{space 2} .0103135{col 37}{space 1}   10.21{col 46}{space 3}0.000{col 54}{space 4} .0850434{col 67}{space 3} .1254716
{txt}{space 9}15  {c |}{col 14}{res}{space 2} .0960191{col 26}{space 2} .0095273{col 37}{space 1}   10.08{col 46}{space 3}0.000{col 54}{space 4} .0773458{col 67}{space 3} .1146923
{txt}{space 9}16  {c |}{col 14}{res}{space 2} .0873843{col 26}{space 2} .0090169{col 37}{space 1}    9.69{col 46}{space 3}0.000{col 54}{space 4} .0697114{col 67}{space 3} .1050571
{txt}{space 9}17  {c |}{col 14}{res}{space 2} .0793363{col 26}{space 2} .0087247{col 37}{space 1}    9.09{col 46}{space 3}0.000{col 54}{space 4} .0622362{col 67}{space 3} .0964365
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .0718564{col 26}{space 2} .0085854{col 37}{space 1}    8.37{col 46}{space 3}0.000{col 54}{space 4} .0550293{col 67}{space 3} .0886836
{txt}{space 9}19  {c |}{col 14}{res}{space 2} .0649241{col 26}{space 2} .0085372{col 37}{space 1}    7.60{col 46}{space 3}0.000{col 54}{space 4} .0481915{col 67}{space 3} .0816567
{txt}{space 9}20  {c |}{col 14}{res}{space 2} .0585174{col 26}{space 2} .0085289{col 37}{space 1}    6.86{col 46}{space 3}0.000{col 54}{space 4}  .041801{col 67}{space 3} .0752338
{txt}{space 9}21  {c |}{col 14}{res}{space 2} .0526132{col 26}{space 2} .0085231{col 37}{space 1}    6.17{col 46}{space 3}0.000{col 54}{space 4} .0359083{col 67}{space 3} .0693181
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. marginsplot, recast(line) recastci(rarea) yline(0)

{text}{p 2 6 2}Variables that uniquely identify margins: share_wbstocksout{p_end}
{res}
{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 13:04:33
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 13:53:27

{com}. global dviv "fucdp_civwarb"

. 
. global dv "ucdp_civwarb"

. 
. global method "probit"

. 
. global ivmethod "ivprobit"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fucdp_civw~b    fucdp_civw~b    fucdp_civw~b    fucdp_civw~b   
{txt}{hline 76}
{res}fucdp_civw~b                                                                {txt}
{txt}share_wbst~t{res}       -4.885***       -6.938***      -17.451***       -4.354*  {txt}
            {res} {ralign 12:{txt:(}-6.36{txt:)}}    {ralign 12:{txt:(}-3.82{txt:)}}    {ralign 12:{txt:(}-6.46{txt:)}}    {ralign 12:{txt:(}-2.06{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4658            4658            3237            1419   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fucdp_civscale"

. 
. global dv "ucdp_civscale"

. 
. global method "oprobit"

. 
. global ivmethod "ivreg2"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fucdp_civs~e    fucdp_civs~e    fucdp_civs~e    fucdp_civs~e   
{txt}{hline 76}
{res}main                                                                        {txt}
{txt}share_wbst~t{res}       -4.635***       -4.323***      -10.646***       -1.982***{txt}
            {res} {ralign 12:{txt:(}-6.15{txt:)}}    {ralign 12:{txt:(}-4.67{txt:)}}    {ralign 12:{txt:(}-6.11{txt:)}}    {ralign 12:{txt:(}-3.63{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4871            4871            3315            1554   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fnavco_violentsize"

. 
. global dv "navco_violentsize"

. 
. global method "oprobit"

. 
. global ivmethod "ivreg2"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 76}
{res}main                                                                        {txt}
{txt}share_wbst~t{res}       -6.264***       -5.266***       -8.006***       -1.319** {txt}
            {res} {ralign 12:{txt:(}-7.40{txt:)}}    {ralign 12:{txt:(}-6.72{txt:)}}    {ralign 12:{txt:(}-6.18{txt:)}}    {ralign 12:{txt:(}-3.08{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4318            4318            3030            1286   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtvioldummy"

. 
. global dv "antigovtvioldummy"

. 
. global method "probit"

. 
. global ivmethod "ivprobit"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fantigovtv~y    fantigovtv~y    fantigovtv~y    fantigovtv~y   
{txt}{hline 76}
{res}fantigovtv~y                                                                {txt}
{txt}share_wbst~t{res}       -1.868***      -10.465***      -16.698***       -5.638***{txt}
            {res} {ralign 12:{txt:(}-3.66{txt:)}}    {ralign 12:{txt:(}-7.47{txt:)}}    {ralign 12:{txt:(}-9.47{txt:)}}    {ralign 12:{txt:(}-3.44{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4472            4472            3092            1376   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtviol"

. 
. global dv "antigovtviol"

. 
. global method "nbreg"

. 
. global ivmethod "ivreg2"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fantigovtv~l    fantigovtv~l    fantigovtv~l    fantigovtv~l   
{txt}{hline 76}
{res}main                                                                        {txt}
{txt}share_wbst~t{res}       -2.177*        -11.072***      -22.533***       -1.358   {txt}
            {res} {ralign 12:{txt:(}-2.47{txt:)}}    {ralign 12:{txt:(}-5.54{txt:)}}    {ralign 12:{txt:(}-6.40{txt:)}}    {ralign 12:{txt:(}-0.98{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4472            4472            3094            1376   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fnavco_nonviolentsize"

. 
. global dv "navco_nonviolentsize"

. 
. global method "oprobit"

. 
. global ivmethod "ivreg2"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 76}
{res}main                                                                        {txt}
{txt}share_wbst~t{res}       -2.371          -4.302***       -6.702***       -1.507***{txt}
            {res} {ralign 12:{txt:(}-1.65{txt:)}}    {ralign 12:{txt:(}-5.99{txt:)}}    {ralign 12:{txt:(}-5.33{txt:)}}    {ralign 12:{txt:(}-3.43{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4322            4322            3006            1314   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtpeacedummy"

. 
. global dv "antigovtpeacedummy"

. 
. global method "probit"

. 
. global ivmethod "ivprobit"

. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fantigovtp~y    fantigovtp~y    fantigovtp~y    fantigovtp~y   
{txt}{hline 76}
{res}fantigovtp~y                                                                {txt}
{txt}share_wbst~t{res}       -1.526**       -12.428***      -18.553***       -6.964***{txt}
            {res} {ralign 12:{txt:(}-2.96{txt:)}}    {ralign 12:{txt:(}-9.27{txt:)}}    {ralign 12:{txt:(}-11.65{txt:)}}    {ralign 12:{txt:(}-4.34{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4470            4470            3090            1376   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtpeace"

. 
. global dv "antigovtpeace"

. 
. global method "nbreg"

. 
. global ivmethod "ivreg2"

. 
. 
. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $method $dviv share_wbstocksout rx_$dv $main if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 76}
{txt}                      (1)             (2)             (3)             (4)   
{txt}             fantigovtp~e    fantigovtp~e    fantigovtp~e    fantigovtp~e   
{txt}{hline 76}
{res}main                                                                        {txt}
{txt}share_wbst~t{res}       -3.052**       -16.888***      -26.403***       -4.348***{txt}
            {res} {ralign 12:{txt:(}-3.00{txt:)}}    {ralign 12:{txt:(}-7.10{txt:)}}    {ralign 12:{txt:(}-6.72{txt:)}}    {ralign 12:{txt:(}-3.33{txt:)}}   {txt}
{txt}{hline 76}
{txt}N           {res}         4470            4470            3092            1376   {txt}
{txt}{hline 76}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 13:55:54
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 13:57:19

{com}. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global se "r"

. 
. global method "probit"

. 
. global ivmethod "ivprobit"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. 
. 
. global cond "oecd==0 & bmr == 0"

. 
. global dviv "fantigovtvioldummy"

. 
. global dv "antigovtvioldummy"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est7{txt} stored)

{com}. 
. margins, at(share_wbstocksout=(0(.005).1)) vsquish pred(pr) saving(file1, replace)
{res}
{txt}Predictive margins{col 51}Number of obs{col 67}= {res}      3092
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Probability of positive outcome, predict(pr)}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.005}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.01}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.015}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.02}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.03}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.035}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.04}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.045}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.05}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.055}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.06}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.065}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.07}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.075}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.08}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.085}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.09}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.095}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .6092825{col 26}{space 2} .0341735{col 37}{space 1}   17.83{col 46}{space 3}0.000{col 54}{space 4} .5423036{col 67}{space 3} .6762613
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .5803788{col 26}{space 2} .0318355{col 37}{space 1}   18.23{col 46}{space 3}0.000{col 54}{space 4} .5179825{col 67}{space 3} .6427752
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .5510048{col 26}{space 2} .0292591{col 37}{space 1}   18.83{col 46}{space 3}0.000{col 54}{space 4} .4936579{col 67}{space 3} .6083516
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .5213217{col 26}{space 2} .0264958{col 37}{space 1}   19.68{col 46}{space 3}0.000{col 54}{space 4} .4693909{col 67}{space 3} .5732526
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .4914967{col 26}{space 2}  .023605{col 37}{space 1}   20.82{col 46}{space 3}0.000{col 54}{space 4} .4452319{col 67}{space 3} .5377616
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .4616993{col 26}{space 2} .0206548{col 37}{space 1}   22.35{col 46}{space 3}0.000{col 54}{space 4} .4212167{col 67}{space 3}  .502182
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .4320989{col 26}{space 2} .0177248{col 37}{space 1}   24.38{col 46}{space 3}0.000{col 54}{space 4} .3973589{col 67}{space 3}  .466839
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .4028615{col 26}{space 2}  .014911{col 37}{space 1}   27.02{col 46}{space 3}0.000{col 54}{space 4} .3736365{col 67}{space 3} .4320866
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .3741471{col 26}{space 2} .0123366{col 37}{space 1}   30.33{col 46}{space 3}0.000{col 54}{space 4} .3499678{col 67}{space 3} .3983264
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .3461069{col 26}{space 2}  .010169{col 37}{space 1}   34.04{col 46}{space 3}0.000{col 54}{space 4}  .326176{col 67}{space 3} .3660378
{txt}{space 9}11  {c |}{col 14}{res}{space 2}  .318881{col 26}{space 2} .0086276{col 37}{space 1}   36.96{col 46}{space 3}0.000{col 54}{space 4} .3019712{col 67}{space 3} .3357908
{txt}{space 9}12  {c |}{col 14}{res}{space 2} .2925961{col 26}{space 2} .0079198{col 37}{space 1}   36.94{col 46}{space 3}0.000{col 54}{space 4} .2770736{col 67}{space 3} .3081186
{txt}{space 9}13  {c |}{col 14}{res}{space 2}  .267364{col 26}{space 2} .0080639{col 37}{space 1}   33.16{col 46}{space 3}0.000{col 54}{space 4} .2515591{col 67}{space 3} .2831689
{txt}{space 9}14  {c |}{col 14}{res}{space 2} .2432801{col 26}{space 2} .0088158{col 37}{space 1}   27.60{col 46}{space 3}0.000{col 54}{space 4} .2260015{col 67}{space 3} .2605587
{txt}{space 9}15  {c |}{col 14}{res}{space 2} .2204225{col 26}{space 2} .0098544{col 37}{space 1}   22.37{col 46}{space 3}0.000{col 54}{space 4} .2011082{col 67}{space 3} .2397368
{txt}{space 9}16  {c |}{col 14}{res}{space 2} .1988517{col 26}{space 2} .0109416{col 37}{space 1}   18.17{col 46}{space 3}0.000{col 54}{space 4} .1774066{col 67}{space 3} .2202968
{txt}{space 9}17  {c |}{col 14}{res}{space 2} .1786104{col 26}{space 2} .0119372{col 37}{space 1}   14.96{col 46}{space 3}0.000{col 54}{space 4} .1552138{col 67}{space 3}  .202007
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .1597238{col 26}{space 2} .0127665{col 37}{space 1}   12.51{col 46}{space 3}0.000{col 54}{space 4} .1347018{col 67}{space 3} .1847457
{txt}{space 9}19  {c |}{col 14}{res}{space 2} .1422005{col 26}{space 2} .0133934{col 37}{space 1}   10.62{col 46}{space 3}0.000{col 54}{space 4} .1159499{col 67}{space 3}  .168451
{txt}{space 9}20  {c |}{col 14}{res}{space 2} .1260334{col 26}{space 2} .0138049{col 37}{space 1}    9.13{col 46}{space 3}0.000{col 54}{space 4} .0989763{col 67}{space 3} .1530905
{txt}{space 9}21  {c |}{col 14}{res}{space 2} .1112012{col 26}{space 2} .0140029{col 37}{space 1}    7.94{col 46}{space 3}0.000{col 54}{space 4}  .083756{col 67}{space 3} .1386463
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. global dviv "fantigovtpeacedummy"

. 
. global dv "antigovtpeacedummy"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est8{txt} stored)

{com}. 
. margins, at(share_wbstocksout=(0(.005).1)) vsquish pred(pr) saving(file2, replace)
{res}
{txt}Predictive margins{col 51}Number of obs{col 67}= {res}      3090
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Probability of positive outcome, predict(pr)}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.005}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.01}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.015}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.02}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.03}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.035}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.04}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.045}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.05}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.055}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.06}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.065}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.07}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.075}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.08}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.085}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.09}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.095}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .5023567{col 26}{space 2} .0405868{col 37}{space 1}   12.38{col 46}{space 3}0.000{col 54}{space 4}  .422808{col 67}{space 3} .5819054
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .4708207{col 26}{space 2} .0377588{col 37}{space 1}   12.47{col 46}{space 3}0.000{col 54}{space 4} .3968147{col 67}{space 3} .5448267
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .4395016{col 26}{space 2} .0347487{col 37}{space 1}   12.65{col 46}{space 3}0.000{col 54}{space 4} .3713954{col 67}{space 3} .5076077
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .4085996{col 26}{space 2} .0316193{col 37}{space 1}   12.92{col 46}{space 3}0.000{col 54}{space 4}  .346627{col 67}{space 3} .4705723
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .3783061{col 26}{space 2}  .028435{col 37}{space 1}   13.30{col 46}{space 3}0.000{col 54}{space 4} .3225746{col 67}{space 3} .4340376
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .3487995{col 26}{space 2} .0252596{col 37}{space 1}   13.81{col 46}{space 3}0.000{col 54}{space 4} .2992916{col 67}{space 3} .3983074
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .3202423{col 26}{space 2} .0221555{col 37}{space 1}   14.45{col 46}{space 3}0.000{col 54}{space 4} .2768184{col 67}{space 3} .3636662
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .2927785{col 26}{space 2} .0191818{col 37}{space 1}   15.26{col 46}{space 3}0.000{col 54}{space 4} .2551828{col 67}{space 3} .3303742
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .2665315{col 26}{space 2} .0163948{col 37}{space 1}   16.26{col 46}{space 3}0.000{col 54}{space 4} .2343983{col 67}{space 3} .2986646
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .2416029{col 26}{space 2} .0138471{col 37}{space 1}   17.45{col 46}{space 3}0.000{col 54}{space 4} .2144631{col 67}{space 3} .2687427
{txt}{space 9}11  {c |}{col 14}{res}{space 2} .2180716{col 26}{space 2} .0115889{col 37}{space 1}   18.82{col 46}{space 3}0.000{col 54}{space 4} .1953577{col 67}{space 3} .2407855
{txt}{space 9}12  {c |}{col 14}{res}{space 2} .1959937{col 26}{space 2}  .009668{col 37}{space 1}   20.27{col 46}{space 3}0.000{col 54}{space 4} .1770448{col 67}{space 3} .2149427
{txt}{space 9}13  {c |}{col 14}{res}{space 2} .1754034{col 26}{space 2} .0081271{col 37}{space 1}   21.58{col 46}{space 3}0.000{col 54}{space 4} .1594747{col 67}{space 3} .1913322
{txt}{space 9}14  {c |}{col 14}{res}{space 2} .1563135{col 26}{space 2} .0069941{col 37}{space 1}   22.35{col 46}{space 3}0.000{col 54}{space 4} .1426053{col 67}{space 3} .1700217
{txt}{space 9}15  {c |}{col 14}{res}{space 2} .1387172{col 26}{space 2} .0062632{col 37}{space 1}   22.15{col 46}{space 3}0.000{col 54}{space 4} .1264416{col 67}{space 3} .1509928
{txt}{space 9}16  {c |}{col 14}{res}{space 2} .1225901{col 26}{space 2} .0058765{col 37}{space 1}   20.86{col 46}{space 3}0.000{col 54}{space 4} .1110723{col 67}{space 3} .1341079
{txt}{space 9}17  {c |}{col 14}{res}{space 2} .1078923{col 26}{space 2} .0057324{col 37}{space 1}   18.82{col 46}{space 3}0.000{col 54}{space 4} .0966569{col 67}{space 3} .1191277
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .0945705{col 26}{space 2} .0057195{col 37}{space 1}   16.53{col 46}{space 3}0.000{col 54}{space 4} .0833606{col 67}{space 3} .1057805
{txt}{space 9}19  {c |}{col 14}{res}{space 2} .0825607{col 26}{space 2} .0057478{col 37}{space 1}   14.36{col 46}{space 3}0.000{col 54}{space 4} .0712952{col 67}{space 3} .0938261
{txt}{space 9}20  {c |}{col 14}{res}{space 2} .0717904{col 26}{space 2} .0057593{col 37}{space 1}   12.47{col 46}{space 3}0.000{col 54}{space 4} .0605024{col 67}{space 3} .0830783
{txt}{space 9}21  {c |}{col 14}{res}{space 2} .0621811{col 26}{space 2} .0057228{col 37}{space 1}   10.87{col 46}{space 3}0.000{col 54}{space 4} .0509646{col 67}{space 3} .0733976
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. global cond "oecd==0 & bmr == 1"

. 
. global dviv "fantigovtvioldummy"

. 
. global dv "antigovtvioldummy"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est9{txt} stored)

{com}. 
. margins, at(share_wbstocksout=(0(.005).1)) vsquish pred(pr) saving(file1, replace)
{res}
{txt}Predictive margins{col 51}Number of obs{col 67}= {res}      1376
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Probability of positive outcome, predict(pr)}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.005}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.01}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.015}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.02}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.03}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.035}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.04}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.045}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.05}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.055}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.06}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.065}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.07}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.075}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.08}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.085}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.09}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.095}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .4554909{col 26}{space 2} .0328386{col 37}{space 1}   13.87{col 46}{space 3}0.000{col 54}{space 4} .3911283{col 67}{space 3} .5198534
{txt}{space 10}2  {c |}{col 14}{res}{space 2}  .447457{col 26}{space 2} .0304765{col 37}{space 1}   14.68{col 46}{space 3}0.000{col 54}{space 4} .3877242{col 67}{space 3} .5071898
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .4394393{col 26}{space 2} .0281383{col 37}{space 1}   15.62{col 46}{space 3}0.000{col 54}{space 4} .3842892{col 67}{space 3} .4945894
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .4314411{col 26}{space 2} .0258345{col 37}{space 1}   16.70{col 46}{space 3}0.000{col 54}{space 4} .3808063{col 67}{space 3} .4820758
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .4234656{col 26}{space 2} .0235779{col 37}{space 1}   17.96{col 46}{space 3}0.000{col 54}{space 4} .3772538{col 67}{space 3} .4696775
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .4155164{col 26}{space 2} .0213849{col 37}{space 1}   19.43{col 46}{space 3}0.000{col 54}{space 4} .3736027{col 67}{space 3}   .45743
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .4075965{col 26}{space 2} .0192774{col 37}{space 1}   21.14{col 46}{space 3}0.000{col 54}{space 4} .3698136{col 67}{space 3} .4453795
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .3997094{col 26}{space 2} .0172848{col 37}{space 1}   23.12{col 46}{space 3}0.000{col 54}{space 4} .3658318{col 67}{space 3}  .433587
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .3918582{col 26}{space 2} .0154478{col 37}{space 1}   25.37{col 46}{space 3}0.000{col 54}{space 4}  .361581{col 67}{space 3} .4221353
{txt}{space 9}10  {c |}{col 14}{res}{space 2}  .384046{col 26}{space 2} .0138219{col 37}{space 1}   27.79{col 46}{space 3}0.000{col 54}{space 4} .3569556{col 67}{space 3} .4111364
{txt}{space 9}11  {c |}{col 14}{res}{space 2} .3762761{col 26}{space 2} .0124801{col 37}{space 1}   30.15{col 46}{space 3}0.000{col 54}{space 4} .3518156{col 67}{space 3} .4007366
{txt}{space 9}12  {c |}{col 14}{res}{space 2} .3685514{col 26}{space 2} .0115092{col 37}{space 1}   32.02{col 46}{space 3}0.000{col 54}{space 4} .3459938{col 67}{space 3} .3911091
{txt}{space 9}13  {c |}{col 14}{res}{space 2} .3608751{col 26}{space 2}  .010992{col 37}{space 1}   32.83{col 46}{space 3}0.000{col 54}{space 4} .3393313{col 67}{space 3}  .382419
{txt}{space 9}14  {c |}{col 14}{res}{space 2} .3532501{col 26}{space 2} .0109743{col 37}{space 1}   32.19{col 46}{space 3}0.000{col 54}{space 4} .3317408{col 67}{space 3} .3747595
{txt}{space 9}15  {c |}{col 14}{res}{space 2} .3456794{col 26}{space 2} .0114391{col 37}{space 1}   30.22{col 46}{space 3}0.000{col 54}{space 4} .3232591{col 67}{space 3} .3680996
{txt}{space 9}16  {c |}{col 14}{res}{space 2} .3381656{col 26}{space 2} .0123119{col 37}{space 1}   27.47{col 46}{space 3}0.000{col 54}{space 4} .3140348{col 67}{space 3} .3622965
{txt}{space 9}17  {c |}{col 14}{res}{space 2} .3307118{col 26}{space 2} .0134942{col 37}{space 1}   24.51{col 46}{space 3}0.000{col 54}{space 4} .3042636{col 67}{space 3}   .35716
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .3233205{col 26}{space 2} .0148936{col 37}{space 1}   21.71{col 46}{space 3}0.000{col 54}{space 4} .2941295{col 67}{space 3} .3525115
{txt}{space 9}19  {c |}{col 14}{res}{space 2} .3159944{col 26}{space 2} .0164367{col 37}{space 1}   19.22{col 46}{space 3}0.000{col 54}{space 4} .2837791{col 67}{space 3} .3482096
{txt}{space 9}20  {c |}{col 14}{res}{space 2}  .308736{col 26}{space 2} .0180692{col 37}{space 1}   17.09{col 46}{space 3}0.000{col 54}{space 4}  .273321{col 67}{space 3}  .344151
{txt}{space 9}21  {c |}{col 14}{res}{space 2} .3015479{col 26}{space 2} .0197527{col 37}{space 1}   15.27{col 46}{space 3}0.000{col 54}{space 4} .2628334{col 67}{space 3} .3402625
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. global dviv "fantigovtpeacedummy"

. 
. global dv "antigovtpeacedummy"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est10{txt} stored)

{com}. 
. margins, at(share_wbstocksout=(0(.005).1)) vsquish pred(pr) saving(file2, replace)
{res}
{txt}Predictive margins{col 51}Number of obs{col 67}= {res}      1376
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Probability of positive outcome, predict(pr)}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.005}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.01}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.015}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.02}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.03}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.035}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.04}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.045}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.05}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:12._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.055}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:13._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.06}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:14._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.065}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:15._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.07}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:16._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.075}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:17._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.08}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:18._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.085}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:19._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 8}.09}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:20._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 7}.095}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:21._at}:{space 1}{res:{txt:share_wbst~t}{space 4}{txt:=} {space 9}.1}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .4815845{col 26}{space 2} .0365024{col 37}{space 1}   13.19{col 46}{space 3}0.000{col 54}{space 4}  .410041{col 67}{space 3}  .553128
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .4709719{col 26}{space 2} .0342008{col 37}{space 1}   13.77{col 46}{space 3}0.000{col 54}{space 4} .4039396{col 67}{space 3} .5380042
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .4603689{col 26}{space 2} .0318985{col 37}{space 1}   14.43{col 46}{space 3}0.000{col 54}{space 4}  .397849{col 67}{space 3} .5228888
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .4497828{col 26}{space 2} .0296049{col 37}{space 1}   15.19{col 46}{space 3}0.000{col 54}{space 4} .3917583{col 67}{space 3} .5078073
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .4392208{col 26}{space 2} .0273306{col 37}{space 1}   16.07{col 46}{space 3}0.000{col 54}{space 4} .3856539{col 67}{space 3} .4927877
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .4286902{col 26}{space 2} .0250881{col 37}{space 1}   17.09{col 46}{space 3}0.000{col 54}{space 4} .3795184{col 67}{space 3} .4778619
{txt}{space 10}7  {c |}{col 14}{res}{space 2}  .418198{col 26}{space 2} .0228928{col 37}{space 1}   18.27{col 46}{space 3}0.000{col 54}{space 4}  .373329{col 67}{space 3}  .463067
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .4077516{col 26}{space 2} .0207638{col 37}{space 1}   19.64{col 46}{space 3}0.000{col 54}{space 4} .3670553{col 67}{space 3} .4484478
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .3973579{col 26}{space 2} .0187256{col 37}{space 1}   21.22{col 46}{space 3}0.000{col 54}{space 4} .3606563{col 67}{space 3} .4340595
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .3870241{col 26}{space 2} .0168108{col 37}{space 1}   23.02{col 46}{space 3}0.000{col 54}{space 4} .3540755{col 67}{space 3} .4199726
{txt}{space 9}11  {c |}{col 14}{res}{space 2}  .376757{col 26}{space 2} .0150623{col 37}{space 1}   25.01{col 46}{space 3}0.000{col 54}{space 4} .3472354{col 67}{space 3} .4062786
{txt}{space 9}12  {c |}{col 14}{res}{space 2} .3665637{col 26}{space 2} .0135369{col 37}{space 1}   27.08{col 46}{space 3}0.000{col 54}{space 4} .3400319{col 67}{space 3} .3930954
{txt}{space 9}13  {c |}{col 14}{res}{space 2} .3564507{col 26}{space 2} .0123052{col 37}{space 1}   28.97{col 46}{space 3}0.000{col 54}{space 4}  .332333{col 67}{space 3} .3805685
{txt}{space 9}14  {c |}{col 14}{res}{space 2} .3464248{col 26}{space 2} .0114453{col 37}{space 1}   30.27{col 46}{space 3}0.000{col 54}{space 4} .3239925{col 67}{space 3} .3688571
{txt}{space 9}15  {c |}{col 14}{res}{space 2} .3364925{col 26}{space 2} .0110228{col 37}{space 1}   30.53{col 46}{space 3}0.000{col 54}{space 4} .3148881{col 67}{space 3} .3580968
{txt}{space 9}16  {c |}{col 14}{res}{space 2}   .32666{col 26}{space 2} .0110632{col 37}{space 1}   29.53{col 46}{space 3}0.000{col 54}{space 4} .3049765{col 67}{space 3} .3483434
{txt}{space 9}17  {c |}{col 14}{res}{space 2} .3169336{col 26}{space 2} .0115348{col 37}{space 1}   27.48{col 46}{space 3}0.000{col 54}{space 4} .2943258{col 67}{space 3} .3395413
{txt}{space 9}18  {c |}{col 14}{res}{space 2} .3073192{col 26}{space 2}  .012361{col 37}{space 1}   24.86{col 46}{space 3}0.000{col 54}{space 4}  .283092{col 67}{space 3} .3315463
{txt}{space 9}19  {c |}{col 14}{res}{space 2} .2978226{col 26}{space 2} .0134496{col 37}{space 1}   22.14{col 46}{space 3}0.000{col 54}{space 4}  .271462{col 67}{space 3} .3241833
{txt}{space 9}20  {c |}{col 14}{res}{space 2} .2884496{col 26}{space 2}  .014716{col 37}{space 1}   19.60{col 46}{space 3}0.000{col 54}{space 4} .2596067{col 67}{space 3} .3172925
{txt}{space 9}21  {c |}{col 14}{res}{space 2} .2792053{col 26}{space 2} .0160932{col 37}{space 1}   17.35{col 46}{space 3}0.000{col 54}{space 4} .2476632{col 67}{space 3} .3107474
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. log ogg
{err}ogg invalid
{txt}{search r(198):r(198);}

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 13:58:36
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 14:33:46

{com}. run "C:\Users\mmiller\AppData\Local\Temp\STD00000000.tmp"
. global se "r"

. 
. 
. 
. global dviv "fcow_intwar"

. 
. global dv "cow_intwar"

. 
. global ivmethod "ivprobit"

. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. global main "d_region1-d_region7 fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -14.792***      -20.122***      -16.169***{txt}
            {res} {ralign 12:{txt:(}-9.23{txt:)}}    {ralign 12:{txt:(}-8.44{txt:)}}    {ralign 12:{txt:(}-9.54{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         4505            3236            1013   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "fdi d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -13.687***      -20.620***      -13.724***{txt}
            {res} {ralign 12:{txt:(}-7.48{txt:)}}    {ralign 12:{txt:(}-7.11{txt:)}}    {ralign 12:{txt:(}-5.83{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3506            2389             940   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "aidfrac d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -15.602***      -24.060***      -13.816***{txt}
            {res} {ralign 12:{txt:(}-8.65{txt:)}}    {ralign 12:{txt:(}-11.10{txt:)}}    {ralign 12:{txt:(}-6.42{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3854            2638             966   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "aidfrac fdi d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -15.259***      -24.675***      -13.788***{txt}
            {res} {ralign 12:{txt:(}-8.38{txt:)}}    {ralign 12:{txt:(}-10.89{txt:)}}    {ralign 12:{txt:(}-6.07{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3333            2235             930   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "vdem_liberal d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -12.464***      -20.843***      -12.794***{txt}
            {res} {ralign 12:{txt:(}-6.11{txt:)}}    {ralign 12:{txt:(}-7.62{txt:)}}    {ralign 12:{txt:(}-6.02{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         4093            2838             983   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "l10_ptot_shareout"

. 
. global endog "l10_share_wbstocksout"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}l10_share_~t{res}      -20.915***      -26.192***      -23.659***{txt}
            {res} {ralign 12:{txt:(}-7.34{txt:)}}    {ralign 12:{txt:(}-7.69{txt:)}}    {ralign 12:{txt:(}-5.48{txt:)}}   {txt}

{txt}rx_cow_int~r{res}       -3.339***       -2.280**        -4.867***{txt}
            {res} {ralign 12:{txt:(}-5.75{txt:)}}    {ralign 12:{txt:(}-3.09{txt:)}}    {ralign 12:{txt:(}-3.84{txt:)}}   {txt}

{txt}tradefrac   {res}       -0.174           0.092          -0.856   {txt}
            {res} {ralign 12:{txt:(}-1.06{txt:)}}    {ralign 12:{txt:(}0.64{txt:)}}    {ralign 12:{txt:(}-1.69{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.059**        -0.053**        -0.251   {txt}
            {res} {ralign 12:{txt:(}-2.80{txt:)}}    {ralign 12:{txt:(}-2.81{txt:)}}    {ralign 12:{txt:(}-1.61{txt:)}}   {txt}

{txt}pop_million {res}        0.001***       -0.002           0.001** {txt}
            {res} {ralign 12:{txt:(}4.23{txt:)}}    {ralign 12:{txt:(}-1.53{txt:)}}    {ralign 12:{txt:(}2.63{txt:)}}   {txt}

{txt}area_million{res}       -0.161***       -0.126*         -0.307***{txt}
            {res} {ralign 12:{txt:(}-4.92{txt:)}}    {ralign 12:{txt:(}-2.39{txt:)}}    {ralign 12:{txt:(}-5.52{txt:)}}   {txt}

{txt}ELF         {res}       -0.262          -0.615**         0.703   {txt}
            {res} {ralign 12:{txt:(}-1.47{txt:)}}    {ralign 12:{txt:(}-3.16{txt:)}}    {ralign 12:{txt:(}1.77{txt:)}}   {txt}

{txt}loggdp2     {res}       -0.233***       -0.274***        0.289*  {txt}
            {res} {ralign 12:{txt:(}-4.66{txt:)}}    {ralign 12:{txt:(}-4.52{txt:)}}    {ralign 12:{txt:(}2.55{txt:)}}   {txt}

{txt}growth2_alt {res}       -0.020*         -0.016          -0.022   {txt}
            {res} {ralign 12:{txt:(}-2.56{txt:)}}    {ralign 12:{txt:(}-1.88{txt:)}}    {ralign 12:{txt:(}-1.42{txt:)}}   {txt}

{txt}regionpolity{res}       -0.292          -0.651          -0.386   {txt}
            {res} {ralign 12:{txt:(}-0.70{txt:)}}    {ralign 12:{txt:(}-1.33{txt:)}}    {ralign 12:{txt:(}-0.43{txt:)}}   {txt}

{txt}polity2     {res}       -0.003          -0.011           0.067   {txt}
            {res} {ralign 12:{txt:(}-0.50{txt:)}}    {ralign 12:{txt:(}-0.89{txt:)}}    {ralign 12:{txt:(}1.51{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.011***       -0.010***       -0.027***{txt}
            {res} {ralign 12:{txt:(}-7.88{txt:)}}    {ralign 12:{txt:(}-4.30{txt:)}}    {ralign 12:{txt:(}-4.81{txt:)}}   {txt}

{txt}_cons       {res}        3.258***        3.545***        0.948   {txt}
            {res} {ralign 12:{txt:(}5.74{txt:)}}    {ralign 12:{txt:(}5.85{txt:)}}    {ralign 12:{txt:(}0.74{txt:)}}   {txt}
{hline 60}
{res}l10_share_~t                                                {txt}
{txt}rx_cow_int~r{res}       -0.011           0.011          -0.032   {txt}
            {res} {ralign 12:{txt:(}-1.24{txt:)}}    {ralign 12:{txt:(}1.03{txt:)}}    {ralign 12:{txt:(}-1.73{txt:)}}   {txt}

{txt}tradefrac   {res}        0.013***        0.012***        0.020***{txt}
            {res} {ralign 12:{txt:(}6.15{txt:)}}    {ralign 12:{txt:(}5.00{txt:)}}    {ralign 12:{txt:(}3.68{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.001***       -0.001***        0.005***{txt}
            {res} {ralign 12:{txt:(}-4.48{txt:)}}    {ralign 12:{txt:(}-4.22{txt:)}}    {ralign 12:{txt:(}3.64{txt:)}}   {txt}

{txt}pop_million {res}        0.000***        0.000           0.000***{txt}
            {res} {ralign 12:{txt:(}8.17{txt:)}}    {ralign 12:{txt:(}1.45{txt:)}}    {ralign 12:{txt:(}3.41{txt:)}}   {txt}

{txt}area_million{res}       -0.006***       -0.009***       -0.001   {txt}
            {res} {ralign 12:{txt:(}-12.40{txt:)}}    {ralign 12:{txt:(}-9.14{txt:)}}    {ralign 12:{txt:(}-1.89{txt:)}}   {txt}

{txt}ELF         {res}       -0.026***       -0.025***       -0.015   {txt}
            {res} {ralign 12:{txt:(}-8.63{txt:)}}    {ralign 12:{txt:(}-7.47{txt:)}}    {ralign 12:{txt:(}-1.93{txt:)}}   {txt}

{txt}loggdp2     {res}       -0.001          -0.003**         0.005*  {txt}
            {res} {ralign 12:{txt:(}-1.32{txt:)}}    {ralign 12:{txt:(}-2.58{txt:)}}    {ralign 12:{txt:(}2.46{txt:)}}   {txt}

{txt}growth2_alt {res}        0.000***        0.000***        0.001***{txt}
            {res} {ralign 12:{txt:(}4.44{txt:)}}    {ralign 12:{txt:(}3.45{txt:)}}    {ralign 12:{txt:(}3.60{txt:)}}   {txt}

{txt}regionpolity{res}        0.005          -0.025*          0.084***{txt}
            {res} {ralign 12:{txt:(}0.67{txt:)}}    {ralign 12:{txt:(}-2.27{txt:)}}    {ralign 12:{txt:(}6.46{txt:)}}   {txt}

{txt}polity2     {res}        0.000           0.001*          0.004***{txt}
            {res} {ralign 12:{txt:(}0.48{txt:)}}    {ralign 12:{txt:(}2.12{txt:)}}    {ralign 12:{txt:(}4.04{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.000**        -0.000          -0.001***{txt}
            {res} {ralign 12:{txt:(}-3.22{txt:)}}    {ralign 12:{txt:(}-1.29{txt:)}}    {ralign 12:{txt:(}-3.93{txt:)}}   {txt}

{txt}l10_ptot_s~t{res}        0.411***        0.304***        1.053***{txt}
            {res} {ralign 12:{txt:(}9.66{txt:)}}    {ralign 12:{txt:(}6.48{txt:)}}    {ralign 12:{txt:(}7.91{txt:)}}   {txt}

{txt}_cons       {res}        0.039***        0.058***       -0.058*  {txt}
            {res} {ralign 12:{txt:(}4.06{txt:)}}    {ralign 12:{txt:(}4.88{txt:)}}    {ralign 12:{txt:(}-2.45{txt:)}}   {txt}
{hline 60}
{res}athrho                                                      {txt}
{txt}_cons       {res}        0.481***        0.774**         0.898***{txt}
            {res} {ralign 12:{txt:(}3.52{txt:)}}    {ralign 12:{txt:(}3.16{txt:)}}    {ralign 12:{txt:(}5.75{txt:)}}   {txt}
{hline 60}
{res}lnsigma                                                     {txt}
{txt}_cons       {res}       -3.359***       -3.400***       -3.437***{txt}
            {res} {ralign 12:{txt:(}-111.58{txt:)}}    {ralign 12:{txt:(}-128.14{txt:)}}    {ralign 12:{txt:(}-51.27{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3340            2338             894   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "l20_ptot_shareout"

. 
. global endog "l20_share_wbstocksout"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}l20_share_~t{res}      -16.047**        -9.997         -66.845***{txt}
            {res} {ralign 12:{txt:(}-3.27{txt:)}}    {ralign 12:{txt:(}-1.08{txt:)}}    {ralign 12:{txt:(}-7.41{txt:)}}   {txt}

{txt}rx_cow_int~r{res}       -4.601***       -5.125***       -4.885** {txt}
            {res} {ralign 12:{txt:(}-5.44{txt:)}}    {ralign 12:{txt:(}-4.45{txt:)}}    {ralign 12:{txt:(}-3.05{txt:)}}   {txt}

{txt}tradefrac   {res}       -0.247           0.089          -3.530** {txt}
            {res} {ralign 12:{txt:(}-1.04{txt:)}}    {ralign 12:{txt:(}0.38{txt:)}}    {ralign 12:{txt:(}-2.80{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.099**        -0.068          -0.339   {txt}
            {res} {ralign 12:{txt:(}-2.78{txt:)}}    {ralign 12:{txt:(}-1.55{txt:)}}    {ralign 12:{txt:(}-1.41{txt:)}}   {txt}

{txt}pop_million {res}        0.001**         0.001           0.000   {txt}
            {res} {ralign 12:{txt:(}2.97{txt:)}}    {ralign 12:{txt:(}0.25{txt:)}}    {ralign 12:{txt:(}0.21{txt:)}}   {txt}

{txt}area_million{res}       -0.086*          0.086          -0.682***{txt}
            {res} {ralign 12:{txt:(}-2.07{txt:)}}    {ralign 12:{txt:(}0.72{txt:)}}    {ralign 12:{txt:(}-4.49{txt:)}}   {txt}

{txt}ELF         {res}       -0.292          -0.447          -0.338   {txt}
            {res} {ralign 12:{txt:(}-1.13{txt:)}}    {ralign 12:{txt:(}-1.23{txt:)}}    {ralign 12:{txt:(}-0.65{txt:)}}   {txt}

{txt}loggdp2     {res}       -0.291***       -0.484***        0.131   {txt}
            {res} {ralign 12:{txt:(}-4.86{txt:)}}    {ralign 12:{txt:(}-5.76{txt:)}}    {ralign 12:{txt:(}0.82{txt:)}}   {txt}

{txt}growth2_alt {res}       -0.022*         -0.020          -0.036   {txt}
            {res} {ralign 12:{txt:(}-2.19{txt:)}}    {ralign 12:{txt:(}-1.87{txt:)}}    {ralign 12:{txt:(}-1.71{txt:)}}   {txt}

{txt}regionpolity{res}       -2.016***       -0.888          -1.498   {txt}
            {res} {ralign 12:{txt:(}-3.32{txt:)}}    {ralign 12:{txt:(}-0.93{txt:)}}    {ralign 12:{txt:(}-0.89{txt:)}}   {txt}

{txt}polity2     {res}        0.008          -0.020          -0.003   {txt}
            {res} {ralign 12:{txt:(}0.95{txt:)}}    {ralign 12:{txt:(}-1.09{txt:)}}    {ralign 12:{txt:(}-0.04{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.013***       -0.015***       -0.009   {txt}
            {res} {ralign 12:{txt:(}-8.76{txt:)}}    {ralign 12:{txt:(}-4.88{txt:)}}    {ralign 12:{txt:(}-1.11{txt:)}}   {txt}

{txt}_cons       {res}        5.003***        4.904***        6.637***{txt}
            {res} {ralign 12:{txt:(}6.57{txt:)}}    {ralign 12:{txt:(}3.94{txt:)}}    {ralign 12:{txt:(}3.41{txt:)}}   {txt}
{hline 60}
{res}l20_share_~t                                                {txt}
{txt}rx_cow_int~r{res}       -0.011          -0.013           0.002   {txt}
            {res} {ralign 12:{txt:(}-1.10{txt:)}}    {ralign 12:{txt:(}-1.00{txt:)}}    {ralign 12:{txt:(}0.11{txt:)}}   {txt}

{txt}tradefrac   {res}        0.011***        0.011***        0.008   {txt}
            {res} {ralign 12:{txt:(}5.09{txt:)}}    {ralign 12:{txt:(}4.66{txt:)}}    {ralign 12:{txt:(}1.41{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.001***       -0.001***        0.004***{txt}
            {res} {ralign 12:{txt:(}-4.52{txt:)}}    {ralign 12:{txt:(}-3.93{txt:)}}    {ralign 12:{txt:(}5.24{txt:)}}   {txt}

{txt}pop_million {res}        0.000***        0.000**         0.000   {txt}
            {res} {ralign 12:{txt:(}6.88{txt:)}}    {ralign 12:{txt:(}3.15{txt:)}}    {ralign 12:{txt:(}0.20{txt:)}}   {txt}

{txt}area_million{res}       -0.005***       -0.011***        0.001   {txt}
            {res} {ralign 12:{txt:(}-9.20{txt:)}}    {ralign 12:{txt:(}-8.12{txt:)}}    {ralign 12:{txt:(}1.93{txt:)}}   {txt}

{txt}ELF         {res}       -0.030***       -0.028***       -0.025***{txt}
            {res} {ralign 12:{txt:(}-8.85{txt:)}}    {ralign 12:{txt:(}-7.17{txt:)}}    {ralign 12:{txt:(}-3.58{txt:)}}   {txt}

{txt}loggdp2     {res}        0.001          -0.002           0.002   {txt}
            {res} {ralign 12:{txt:(}0.57{txt:)}}    {ralign 12:{txt:(}-1.40{txt:)}}    {ralign 12:{txt:(}1.18{txt:)}}   {txt}

{txt}growth2_alt {res}        0.000**         0.000*          0.001*  {txt}
            {res} {ralign 12:{txt:(}2.72{txt:)}}    {ralign 12:{txt:(}2.54{txt:)}}    {ralign 12:{txt:(}2.37{txt:)}}   {txt}

{txt}regionpolity{res}       -0.055***       -0.074***        0.050** {txt}
            {res} {ralign 12:{txt:(}-5.50{txt:)}}    {ralign 12:{txt:(}-5.59{txt:)}}    {ralign 12:{txt:(}2.79{txt:)}}   {txt}

{txt}polity2     {res}        0.000           0.000           0.002*  {txt}
            {res} {ralign 12:{txt:(}1.25{txt:)}}    {ralign 12:{txt:(}0.97{txt:)}}    {ralign 12:{txt:(}2.30{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.000***       -0.000***       -0.000   {txt}
            {res} {ralign 12:{txt:(}-5.82{txt:)}}    {ralign 12:{txt:(}-3.90{txt:)}}    {ralign 12:{txt:(}-1.86{txt:)}}   {txt}

{txt}l20_ptot_s~t{res}        0.383***        0.367***        0.925***{txt}
            {res} {ralign 12:{txt:(}9.31{txt:)}}    {ralign 12:{txt:(}5.84{txt:)}}    {ralign 12:{txt:(}9.98{txt:)}}   {txt}

{txt}_cons       {res}        0.067***        0.089***       -0.015   {txt}
            {res} {ralign 12:{txt:(}5.95{txt:)}}    {ralign 12:{txt:(}6.26{txt:)}}    {ralign 12:{txt:(}-0.72{txt:)}}   {txt}
{hline 60}
{res}athrho                                                      {txt}
{txt}_cons       {res}        0.298           0.144           1.010***{txt}
            {res} {ralign 12:{txt:(}1.72{txt:)}}    {ralign 12:{txt:(}0.46{txt:)}}    {ralign 12:{txt:(}3.74{txt:)}}   {txt}
{hline 60}
{res}lnsigma                                                     {txt}
{txt}_cons       {res}       -3.497***       -3.452***       -3.834***{txt}
            {res} {ralign 12:{txt:(}-123.25{txt:)}}    {ralign 12:{txt:(}-105.99{txt:)}}    {ralign 12:{txt:(}-65.01{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         2289            1486             726   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "bmr >= 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -15.358***      -19.892***      -16.851***{txt}
            {res} {ralign 12:{txt:(}-4.85{txt:)}}    {ralign 12:{txt:(}-7.57{txt:)}}    {ralign 12:{txt:(}-10.49{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         5363            3052            1819   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 60}
{res}fcow_intwar                                                 {txt}
{txt}share_wbst~t{res}      -19.290***      -25.992***      -18.166** {txt}
            {res} {ralign 12:{txt:(}-5.44{txt:)}}    {ralign 12:{txt:(}-9.29{txt:)}}    {ralign 12:{txt:(}-2.87{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}          431             311              91   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 14:39:26
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 14:39:51

{com}. global dviv "fnavco_violentsize"

. 
. global dv "navco_violentsize"

. 
. global ivmethod "ivreg2"

. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. global main "d_region1-d_region7 fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -6.244***       -9.395***       -2.594***{txt}
            {res} {ralign 12:{txt:(}-8.25{txt:)}}    {ralign 12:{txt:(}-7.76{txt:)}}    {ralign 12:{txt:(}-5.74{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         4569            3267            1300   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "fdi d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -5.308***       -5.441***       -1.983***{txt}
            {res} {ralign 12:{txt:(}-5.94{txt:)}}    {ralign 12:{txt:(}-3.69{txt:)}}    {ralign 12:{txt:(}-3.56{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3446            2337            1107   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "aidfrac d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -5.192***       -9.070***       -0.812*  {txt}
            {res} {ralign 12:{txt:(}-6.59{txt:)}}    {ralign 12:{txt:(}-6.11{txt:)}}    {ralign 12:{txt:(}-2.16{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3874            2625            1247   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "aidfrac fdi d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -5.451***       -6.931***       -1.418** {txt}
            {res} {ralign 12:{txt:(}-5.86{txt:)}}    {ralign 12:{txt:(}-3.94{txt:)}}    {ralign 12:{txt:(}-3.06{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3270            2187            1081   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "vdem_liberal d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -5.019***       -8.848***       -0.979*  {txt}
            {res} {ralign 12:{txt:(}-5.97{txt:)}}    {ralign 12:{txt:(}-5.31{txt:)}}    {ralign 12:{txt:(}-2.46{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         4119            2831            1286   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "l10_ptot_shareout"

. 
. global endog "l10_share_wbstocksout"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}l10_share_~t{res}       -8.677***      -12.009***       -2.542***{txt}
            {res} {ralign 12:{txt:(}-6.06{txt:)}}    {ralign 12:{txt:(}-5.06{txt:)}}    {ralign 12:{txt:(}-3.73{txt:)}}   {txt}

{txt}rx_navco_v~e{res}       -0.479***       -0.405**        -1.332***{txt}
            {res} {ralign 12:{txt:(}-4.06{txt:)}}    {ralign 12:{txt:(}-2.94{txt:)}}    {ralign 12:{txt:(}-6.42{txt:)}}   {txt}

{txt}tradefrac   {res}       -0.062          -0.008          -0.174** {txt}
            {res} {ralign 12:{txt:(}-1.45{txt:)}}    {ralign 12:{txt:(}-0.15{txt:)}}    {ralign 12:{txt:(}-3.12{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.019***       -0.020***       -0.046*  {txt}
            {res} {ralign 12:{txt:(}-4.66{txt:)}}    {ralign 12:{txt:(}-3.85{txt:)}}    {ralign 12:{txt:(}-2.27{txt:)}}   {txt}

{txt}pop_million {res}        0.001***        0.001**         0.000*  {txt}
            {res} {ralign 12:{txt:(}6.51{txt:)}}    {ralign 12:{txt:(}3.04{txt:)}}    {ralign 12:{txt:(}2.08{txt:)}}   {txt}

{txt}area_million{res}       -0.070***       -0.072**        -0.055***{txt}
            {res} {ralign 12:{txt:(}-5.36{txt:)}}    {ralign 12:{txt:(}-2.78{txt:)}}    {ralign 12:{txt:(}-5.52{txt:)}}   {txt}

{txt}ELF         {res}       -0.020          -0.199           0.587***{txt}
            {res} {ralign 12:{txt:(}-0.26{txt:)}}    {ralign 12:{txt:(}-1.86{txt:)}}    {ralign 12:{txt:(}5.61{txt:)}}   {txt}

{txt}loggdp2     {res}       -0.048**        -0.092***        0.120***{txt}
            {res} {ralign 12:{txt:(}-2.93{txt:)}}    {ralign 12:{txt:(}-4.13{txt:)}}    {ralign 12:{txt:(}3.79{txt:)}}   {txt}

{txt}growth2_alt {res}       -0.001          -0.002          -0.003   {txt}
            {res} {ralign 12:{txt:(}-0.60{txt:)}}    {ralign 12:{txt:(}-0.63{txt:)}}    {ralign 12:{txt:(}-0.92{txt:)}}   {txt}

{txt}regionpolity{res}       -0.324*         -0.281          -1.050***{txt}
            {res} {ralign 12:{txt:(}-2.37{txt:)}}    {ralign 12:{txt:(}-1.32{txt:)}}    {ralign 12:{txt:(}-4.65{txt:)}}   {txt}

{txt}polity2     {res}        0.002           0.002           0.007   {txt}
            {res} {ralign 12:{txt:(}1.35{txt:)}}    {ralign 12:{txt:(}0.37{txt:)}}    {ralign 12:{txt:(}0.26{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.003***       -0.003***       -0.007** {txt}
            {res} {ralign 12:{txt:(}-7.48{txt:)}}    {ralign 12:{txt:(}-4.67{txt:)}}    {ralign 12:{txt:(}-3.00{txt:)}}   {txt}

{txt}_cons       {res}        0.447*          0.602*         -0.518   {txt}
            {res} {ralign 12:{txt:(}2.28{txt:)}}    {ralign 12:{txt:(}2.04{txt:)}}    {ralign 12:{txt:(}-1.57{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3335            2330            1005   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "l20_ptot_shareout"

. 
. global endog "l20_share_wbstocksout"

. 
. 
. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}l20_share_~t{res}       -7.191***       -7.771**        -1.015   {txt}
            {res} {ralign 12:{txt:(}-4.09{txt:)}}    {ralign 12:{txt:(}-2.91{txt:)}}    {ralign 12:{txt:(}-1.11{txt:)}}   {txt}

{txt}rx_navco_v~e{res}       -1.991***       -2.668***       -1.922***{txt}
            {res} {ralign 12:{txt:(}-13.83{txt:)}}    {ralign 12:{txt:(}-11.42{txt:)}}    {ralign 12:{txt:(}-8.66{txt:)}}   {txt}

{txt}tradefrac   {res}       -0.105*         -0.056          -0.217***{txt}
            {res} {ralign 12:{txt:(}-2.11{txt:)}}    {ralign 12:{txt:(}-0.86{txt:)}}    {ralign 12:{txt:(}-4.03{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.017***       -0.011          -0.026   {txt}
            {res} {ralign 12:{txt:(}-3.31{txt:)}}    {ralign 12:{txt:(}-1.92{txt:)}}    {ralign 12:{txt:(}-1.45{txt:)}}   {txt}

{txt}pop_million {res}        0.000***        0.000           0.000   {txt}
            {res} {ralign 12:{txt:(}3.29{txt:)}}    {ralign 12:{txt:(}1.20{txt:)}}    {ralign 12:{txt:(}0.39{txt:)}}   {txt}

{txt}area_million{res}       -0.036*         -0.010          -0.029** {txt}
            {res} {ralign 12:{txt:(}-2.45{txt:)}}    {ralign 12:{txt:(}-0.26{txt:)}}    {ralign 12:{txt:(}-3.00{txt:)}}   {txt}

{txt}ELF         {res}       -0.011          -0.124           0.476***{txt}
            {res} {ralign 12:{txt:(}-0.11{txt:)}}    {ralign 12:{txt:(}-0.94{txt:)}}    {ralign 12:{txt:(}4.16{txt:)}}   {txt}

{txt}loggdp2     {res}       -0.034          -0.073**         0.055   {txt}
            {res} {ralign 12:{txt:(}-1.78{txt:)}}    {ralign 12:{txt:(}-2.66{txt:)}}    {ralign 12:{txt:(}1.79{txt:)}}   {txt}

{txt}growth2_alt {res}       -0.004          -0.001          -0.008*  {txt}
            {res} {ralign 12:{txt:(}-1.42{txt:)}}    {ralign 12:{txt:(}-0.49{txt:)}}    {ralign 12:{txt:(}-2.19{txt:)}}   {txt}

{txt}regionpolity{res}       -0.587**        -0.696*         -0.980** {txt}
            {res} {ralign 12:{txt:(}-3.01{txt:)}}    {ralign 12:{txt:(}-2.30{txt:)}}    {ralign 12:{txt:(}-3.19{txt:)}}   {txt}

{txt}polity2     {res}        0.005*         -0.002          -0.111*  {txt}
            {res} {ralign 12:{txt:(}2.22{txt:)}}    {ralign 12:{txt:(}-0.45{txt:)}}    {ralign 12:{txt:(}-2.16{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.003***       -0.004***        0.005   {txt}
            {res} {ralign 12:{txt:(}-5.99{txt:)}}    {ralign 12:{txt:(}-5.36{txt:)}}    {ralign 12:{txt:(}1.26{txt:)}}   {txt}

{txt}_cons       {res}        0.369           0.418           0.352   {txt}
            {res} {ralign 12:{txt:(}1.55{txt:)}}    {ralign 12:{txt:(}1.11{txt:)}}    {ralign 12:{txt:(}0.90{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         2261            1462             799   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "bmr >= 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -6.740***       -7.897***       -1.902   {txt}
            {res} {ralign 12:{txt:(}-4.49{txt:)}}    {ralign 12:{txt:(}-5.80{txt:)}}    {ralign 12:{txt:(}-1.43{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         5256            3077            2177   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -7.031**       -11.160*         -1.592   {txt}
            {res} {ralign 12:{txt:(}-2.72{txt:)}}    {ralign 12:{txt:(}-2.50{txt:)}}    {ralign 12:{txt:(}-1.15{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}          451             318             132   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 14:42:41
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 14:44:14

{com}. global dviv "fnavco_nonviolentsize"

. 
. global dv "navco_nonviolentsize"

. 
. global ivmethod "ivreg2"

. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. global main "d_region1-d_region7 fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -4.329***       -6.766***       -1.328***{txt}
            {res} {ralign 12:{txt:(}-6.34{txt:)}}    {ralign 12:{txt:(}-5.76{txt:)}}    {ralign 12:{txt:(}-3.69{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         4573            3243            1328   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "fdi d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -4.426***       -3.220*         -1.798** {txt}
            {res} {ralign 12:{txt:(}-5.16{txt:)}}    {ralign 12:{txt:(}-2.50{txt:)}}    {ralign 12:{txt:(}-3.17{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3443            2310            1131   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "aidfrac d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -3.876***       -6.264***       -0.921** {txt}
            {res} {ralign 12:{txt:(}-5.67{txt:)}}    {ralign 12:{txt:(}-4.82{txt:)}}    {ralign 12:{txt:(}-2.77{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3879            2602            1275   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "aidfrac fdi d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}Warning: estimated covariance matrix of moment conditions not of full rank.
         overidentification statistic not reported, and standard errors and
         model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
{help ivreg2##partial:partial} option may address problem.
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -3.872***       -2.898*         -1.105** {txt}
            {res} {ralign 12:{txt:(}-4.82{txt:)}}    {ralign 12:{txt:(}-2.09{txt:)}}    {ralign 12:{txt:(}-2.60{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3266            2159            1105   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "vdem_liberal d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -4.598***       -8.335***       -1.276***{txt}
            {res} {ralign 12:{txt:(}-5.75{txt:)}}    {ralign 12:{txt:(}-5.04{txt:)}}    {ralign 12:{txt:(}-3.38{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         4123            2807            1314   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "l10_ptot_shareout"

. 
. global endog "l10_share_wbstocksout"

. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}l10_share_~t{res}       -7.087***      -11.602***       -1.350*  {txt}
            {res} {ralign 12:{txt:(}-5.27{txt:)}}    {ralign 12:{txt:(}-4.59{txt:)}}    {ralign 12:{txt:(}-2.33{txt:)}}   {txt}

{txt}rx_navco_n~e{res}       -0.127          -0.262          -0.026   {txt}
            {res} {ralign 12:{txt:(}-1.28{txt:)}}    {ralign 12:{txt:(}-1.76{txt:)}}    {ralign 12:{txt:(}-0.50{txt:)}}   {txt}

{txt}tradefrac   {res}        0.031           0.068           0.020   {txt}
            {res} {ralign 12:{txt:(}1.04{txt:)}}    {ralign 12:{txt:(}1.50{txt:)}}    {ralign 12:{txt:(}0.44{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.015***       -0.018***        0.010*  {txt}
            {res} {ralign 12:{txt:(}-4.54{txt:)}}    {ralign 12:{txt:(}-3.76{txt:)}}    {ralign 12:{txt:(}2.10{txt:)}}   {txt}

{txt}pop_million {res}        0.000**         0.001*          0.000   {txt}
            {res} {ralign 12:{txt:(}2.67{txt:)}}    {ralign 12:{txt:(}2.21{txt:)}}    {ralign 12:{txt:(}1.66{txt:)}}   {txt}

{txt}area_million{res}       -0.037*         -0.076*         -0.006   {txt}
            {res} {ralign 12:{txt:(}-2.14{txt:)}}    {ralign 12:{txt:(}-2.02{txt:)}}    {ralign 12:{txt:(}-1.29{txt:)}}   {txt}

{txt}ELF         {res}       -0.163**        -0.267**        -0.104*  {txt}
            {res} {ralign 12:{txt:(}-2.92{txt:)}}    {ralign 12:{txt:(}-2.71{txt:)}}    {ralign 12:{txt:(}-2.11{txt:)}}   {txt}

{txt}loggdp2     {res}        0.036*          0.021           0.006   {txt}
            {res} {ralign 12:{txt:(}2.53{txt:)}}    {ralign 12:{txt:(}1.11{txt:)}}    {ralign 12:{txt:(}0.62{txt:)}}   {txt}

{txt}growth2_alt {res}        0.001           0.002           0.000   {txt}
            {res} {ralign 12:{txt:(}1.07{txt:)}}    {ralign 12:{txt:(}1.13{txt:)}}    {ralign 12:{txt:(}0.09{txt:)}}   {txt}

{txt}regionpolity{res}       -0.200           0.146           0.141   {txt}
            {res} {ralign 12:{txt:(}-1.34{txt:)}}    {ralign 12:{txt:(}0.55{txt:)}}    {ralign 12:{txt:(}1.56{txt:)}}   {txt}

{txt}polity2     {res}       -0.009***        0.002           0.007   {txt}
            {res} {ralign 12:{txt:(}-5.14{txt:)}}    {ralign 12:{txt:(}0.34{txt:)}}    {ralign 12:{txt:(}1.74{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.001*         -0.001          -0.001*  {txt}
            {res} {ralign 12:{txt:(}-2.26{txt:)}}    {ralign 12:{txt:(}-0.69{txt:)}}    {ralign 12:{txt:(}-1.98{txt:)}}   {txt}

{txt}_cons       {res}       -0.799***       -0.895**        -0.970***{txt}
            {res} {ralign 12:{txt:(}-4.50{txt:)}}    {ralign 12:{txt:(}-2.97{txt:)}}    {ralign 12:{txt:(}-7.77{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         3329            2301            1028   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "l20_ptot_shareout"

. 
. global endog "l20_share_wbstocksout"

. 
. 
. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, drop(d_*) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}l20_share_~t{res}      -10.145***      -15.232***       -1.105   {txt}
            {res} {ralign 12:{txt:(}-5.01{txt:)}}    {ralign 12:{txt:(}-4.16{txt:)}}    {ralign 12:{txt:(}-1.23{txt:)}}   {txt}

{txt}rx_navco_n~e{res}       -0.114          -0.466*         -0.005   {txt}
            {res} {ralign 12:{txt:(}-0.89{txt:)}}    {ralign 12:{txt:(}-1.99{txt:)}}    {ralign 12:{txt:(}-0.08{txt:)}}   {txt}

{txt}tradefrac   {res}        0.009           0.072          -0.029   {txt}
            {res} {ralign 12:{txt:(}0.20{txt:)}}    {ralign 12:{txt:(}1.10{txt:)}}    {ralign 12:{txt:(}-0.64{txt:)}}   {txt}

{txt}fuelval~1000{res}       -0.022***       -0.021**         0.007   {txt}
            {res} {ralign 12:{txt:(}-4.14{txt:)}}    {ralign 12:{txt:(}-3.08{txt:)}}    {ralign 12:{txt:(}1.28{txt:)}}   {txt}

{txt}pop_million {res}        0.000*          0.001           0.000** {txt}
            {res} {ralign 12:{txt:(}2.55{txt:)}}    {ralign 12:{txt:(}1.71{txt:)}}    {ralign 12:{txt:(}3.19{txt:)}}   {txt}

{txt}area_million{res}       -0.043          -0.108          -0.004   {txt}
            {res} {ralign 12:{txt:(}-1.83{txt:)}}    {ralign 12:{txt:(}-1.42{txt:)}}    {ralign 12:{txt:(}-0.94{txt:)}}   {txt}

{txt}ELF         {res}       -0.300**        -0.432**        -0.080   {txt}
            {res} {ralign 12:{txt:(}-3.18{txt:)}}    {ralign 12:{txt:(}-2.79{txt:)}}    {ralign 12:{txt:(}-1.58{txt:)}}   {txt}

{txt}loggdp2     {res}        0.073***        0.057           0.007   {txt}
            {res} {ralign 12:{txt:(}3.43{txt:)}}    {ralign 12:{txt:(}1.83{txt:)}}    {ralign 12:{txt:(}0.74{txt:)}}   {txt}

{txt}growth2_alt {res}        0.001           0.003          -0.001   {txt}
            {res} {ralign 12:{txt:(}0.52{txt:)}}    {ralign 12:{txt:(}1.08{txt:)}}    {ralign 12:{txt:(}-0.34{txt:)}}   {txt}

{txt}regionpolity{res}       -1.146***       -0.711           0.114   {txt}
            {res} {ralign 12:{txt:(}-3.55{txt:)}}    {ralign 12:{txt:(}-1.56{txt:)}}    {ralign 12:{txt:(}0.72{txt:)}}   {txt}

{txt}polity2     {res}       -0.012***       -0.002           0.012   {txt}
            {res} {ralign 12:{txt:(}-4.47{txt:)}}    {ralign 12:{txt:(}-0.30{txt:)}}    {ralign 12:{txt:(}1.15{txt:)}}   {txt}

{txt}polity2_sq  {res}       -0.002***       -0.003**        -0.001*  {txt}
            {res} {ralign 12:{txt:(}-3.97{txt:)}}    {ralign 12:{txt:(}-2.66{txt:)}}    {ralign 12:{txt:(}-2.01{txt:)}}   {txt}

{txt}_cons       {res}       -0.328          -0.515          -1.049***{txt}
            {res} {ralign 12:{txt:(}-1.19{txt:)}}    {ralign 12:{txt:(}-1.04{txt:)}}    {ralign 12:{txt:(}-6.25{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         2255            1440             815   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "bmr >= 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -7.702***       -7.601***       -3.085*  {txt}
            {res} {ralign 12:{txt:(}-4.87{txt:)}}    {ralign 12:{txt:(}-5.46{txt:)}}    {ralign 12:{txt:(}-2.43{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}         5271            3047            2222   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "ptot_shareout"

. 
. global endog "share_wbstocksout"

. 
. eststo clear

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond & mod(year,10)==0, $se
{txt}({res}est3{txt} stored)

{com}. 
. esttab, keep(share_wbstocksout) b(3)
{res}
{txt}{hline 60}
{txt}                      (1)             (2)             (3)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 60}
{txt}share_wbst~t{res}       -3.259          -2.626          -2.665   {txt}
            {res} {ralign 12:{txt:(}-1.40{txt:)}}    {ralign 12:{txt:(}-0.74{txt:)}}    {ralign 12:{txt:(}-1.38{txt:)}}   {txt}
{txt}{hline 60}
{txt}N           {res}          450             313             136   {txt}
{txt}{hline 60}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 14:46:35
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 14:53:44

{com}. global se "r"

. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. 
. 
. global dviv "fcow_intwar"

. 
. global dv "cow_intwar"

. 
. global ivmethod "ivprobit"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}{hline 2}Break{hline 2}
{txt}{search r(1):r(1);}

{com}. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}could not find initial values
{txt}{search r(498):r(498);}

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}{hline 2}Break{hline 2}
{txt}{search r(1):r(1);}

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{err}{hline 2}Break{hline 2}
{txt}{search r(1):r(1);}

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{txt}(tabulating estimates stored by eststo; specify "." to tabulate the active results)
{res}{err}{hline 2}Break{hline 2}
{txt}{search r(1):r(1);}

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 14:55:40
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}13 Sep 2021, 14:58:55

{com}. global se "r"

. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. 
. 
. global dviv "fcow_intwar"

. 
. global dv "cow_intwar"

. 
. global ivmethod "ivprobit"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}              fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar     fcow_intwar   
{txt}{hline 108}
{res}main                                                                                                        {txt}
{txt}netbmr_sha~t{res}       -1.711          -4.503*         15.513***                                                {txt}
            {res} {ralign 12:{txt:(}-0.92{txt:)}}    {ralign 12:{txt:(}-1.98{txt:)}}    {ralign 12:{txt:(}5.73{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                       -0.062          -0.134**         0.415** {txt}
            {res}                                                 {ralign 12:{txt:(}-1.37{txt:)}}    {ralign 12:{txt:(}-3.08{txt:)}}    {ralign 12:{txt:(}2.72{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4298            3043             983            4486            3118            1366   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fucdp_civwarb"

. 
. global dv "ucdp_civwarb"

. 
. global ivmethod "ivprobit"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fucdp_civw~b    fucdp_civw~b    fucdp_civw~b    fucdp_civw~b    fucdp_civw~b    fucdp_civw~b   
{txt}{hline 108}
{res}main                                                                                                        {txt}
{txt}netbmr_sha~t{res}       -4.838***       -5.009**       -12.800***                                                {txt}
            {res} {ralign 12:{txt:(}-3.59{txt:)}}    {ralign 12:{txt:(}-2.79{txt:)}}    {ralign 12:{txt:(}-5.43{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                       -0.266***       -0.057          -0.469** {txt}
            {res}                                                 {ralign 12:{txt:(}-4.85{txt:)}}    {ralign 12:{txt:(}-1.03{txt:)}}    {ralign 12:{txt:(}-2.85{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4658            3237            1419            4852            3312            1538   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. run "C:\Users\mmiller\AppData\Local\Temp\STD00000000.tmp"
. global dviv "fucdp_civscale"

. 
. global dv "ucdp_civscale"

. 
. global ivmethod "ivreg2"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fucdp_civs~e    fucdp_civs~e    fucdp_civs~e    fucdp_civs~e    fucdp_civs~e    fucdp_civs~e   
{txt}{hline 108}
{txt}netbmr_sha~t{res}       -0.772          -1.399          -1.640                                                   {txt}
            {res} {ralign 12:{txt:(}-1.42{txt:)}}    {ralign 12:{txt:(}-1.63{txt:)}}    {ralign 12:{txt:(}-1.38{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                       -0.449***       -0.264*         -0.086   {txt}
            {res}                                                 {ralign 12:{txt:(}-3.90{txt:)}}    {ralign 12:{txt:(}-2.15{txt:)}}    {ralign 12:{txt:(}-0.28{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4871            3315            1554            4852            3312            1538   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fnavco_violentsize"

. 
. global dv "navco_violentsize"

. 
. global ivmethod "ivreg2"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fnavco_vio~e    fnavco_vio~e    fnavco_vio~e    fnavco_vio~e    fnavco_vio~e    fnavco_vio~e   
{txt}{hline 108}
{txt}netbmr_sha~t{res}        0.311           0.012          -0.811                                                   {txt}
            {res} {ralign 12:{txt:(}0.69{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}-0.84{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                       -0.272**        -0.157          -0.244   {txt}
            {res}                                                 {ralign 12:{txt:(}-3.01{txt:)}}    {ralign 12:{txt:(}-1.69{txt:)}}    {ralign 12:{txt:(}-1.08{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4318            3030            1286            4305            3030            1273   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtvioldummy"

. 
. global dv "antigovtvioldummy"

. 
. global ivmethod "ivprobit"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fantigovtv~y    fantigovtv~y    fantigovtv~y    fantigovtv~y    fantigovtv~y    fantigovtv~y   
{txt}{hline 108}
{res}main                                                                                                        {txt}
{txt}netbmr_sha~t{res}        0.726           2.367          -1.348                                                   {txt}
            {res} {ralign 12:{txt:(}0.54{txt:)}}    {ralign 12:{txt:(}1.31{txt:)}}    {ralign 12:{txt:(}-0.32{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                       -0.147*         -0.007          -0.339   {txt}
            {res}                                                 {ralign 12:{txt:(}-2.03{txt:)}}    {ralign 12:{txt:(}-0.09{txt:)}}    {ralign 12:{txt:(}-1.87{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4472            3092            1376            4458            3094            1362   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtviol"

. 
. global dv "antigovtviol"

. 
. global ivmethod "ivreg2"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fantigovtv~l    fantigovtv~l    fantigovtv~l    fantigovtv~l    fantigovtv~l    fantigovtv~l   
{txt}{hline 108}
{txt}netbmr_sha~t{res}        3.639**         5.695**         5.291                                                   {txt}
            {res} {ralign 12:{txt:(}2.67{txt:)}}    {ralign 12:{txt:(}3.11{txt:)}}    {ralign 12:{txt:(}1.29{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                       -1.086***        0.161          -4.552***{txt}
            {res}                                                 {ralign 12:{txt:(}-3.63{txt:)}}    {ralign 12:{txt:(}0.64{txt:)}}    {ralign 12:{txt:(}-4.40{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4472            3094            1376            4458            3094            1362   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fnavco_nonviolentsize"

. 
. global dv "navco_nonviolentsize"

. 
. global ivmethod "ivreg2"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fnavco_non~e    fnavco_non~e    fnavco_non~e    fnavco_non~e    fnavco_non~e    fnavco_non~e   
{txt}{hline 108}
{txt}netbmr_sha~t{res}        0.915*          2.644***       -1.224*                                                  {txt}
            {res} {ralign 12:{txt:(}2.48{txt:)}}    {ralign 12:{txt:(}4.07{txt:)}}    {ralign 12:{txt:(}-2.11{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                        0.152           0.331**        -0.356   {txt}
            {res}                                                 {ralign 12:{txt:(}1.89{txt:)}}    {ralign 12:{txt:(}3.28{txt:)}}    {ralign 12:{txt:(}-1.94{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4322            3006            1314            4309            3006            1301   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtpeacedummy"

. 
. global dv "antigovtpeacedummy"

. 
. global ivmethod "ivprobit"

. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fantigovtp~y    fantigovtp~y    fantigovtp~y    fantigovtp~y    fantigovtp~y    fantigovtp~y   
{txt}{hline 108}
{res}main                                                                                                        {txt}
{txt}netbmr_sha~t{res}        3.738**         8.746***       -0.460                                                   {txt}
            {res} {ralign 12:{txt:(}2.66{txt:)}}    {ralign 12:{txt:(}4.83{txt:)}}    {ralign 12:{txt:(}-0.13{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                        0.088           0.220**        -0.471*  {txt}
            {res}                                                 {ralign 12:{txt:(}1.22{txt:)}}    {ralign 12:{txt:(}3.06{txt:)}}    {ralign 12:{txt:(}-2.28{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4470            3090            1376            4456            3092            1362   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. global dviv "fantigovtpeace"

. 
. global dv "antigovtpeace"

. 
. global ivmethod "ivreg2"

. 
. 
. 
. 
. 
. eststo clear

. 
. global em "pnetbmr_shareout"

. 
. global endog "netbmr_shareout"

. 
. global cond "oecd==0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est1{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est2{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. global main "d_region1-d_region7 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. eststo: quietly $ivmethod $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est3{txt} stored)

{com}. 
. global main "d_region2-d_region8 tradefrac fuelvalue_cap1000 pop_million area_million ELF loggdp2 growth2_alt regionpolity polity2 polity2_sq d_year160-d_year211"

. 
. global em "pmeanbmr_shareout ptot_shareout"

. 
. global endog "meanbmr_wbstocksout share_wbstocksout"

. 
. global cond "oecd==0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est4{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 0"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est5{txt} stored)

{com}. 
. global cond "oecd==0 & bmr == 1"

. 
. eststo: quietly ivreg2 $dviv rx_$dv $main ($endog = $em) if $cond, $se
{txt}({res}est6{txt} stored)

{com}. 
. esttab, keep(netbmr_shareout meanbmr_wbstocksout) b(3)
{res}
{txt}{hline 108}
{txt}                      (1)             (2)             (3)             (4)             (5)             (6)   
{txt}             fantigovtp~e    fantigovtp~e    fantigovtp~e    fantigovtp~e    fantigovtp~e    fantigovtp~e   
{txt}{hline 108}
{txt}netbmr_sha~t{res}        4.902***       11.222***       -1.731                                                   {txt}
            {res} {ralign 12:{txt:(}3.59{txt:)}}    {ralign 12:{txt:(}5.53{txt:)}}    {ralign 12:{txt:(}-0.51{txt:)}}                                                   {txt}

{txt}meanbmr_wb~t{res}                                                        0.052           0.837**        -3.224***{txt}
            {res}                                                 {ralign 12:{txt:(}0.17{txt:)}}    {ralign 12:{txt:(}2.67{txt:)}}    {ralign 12:{txt:(}-4.07{txt:)}}   {txt}
{txt}{hline 108}
{txt}N           {res}         4470            3092            1376            4456            3092            1362   {txt}
{txt}{hline 108}
{txt}t statistics in parentheses
{txt}* p<0.05, ** p<0.01, *** p<0.001

{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mmiller\Documents\Stata\Immigration\EmViol.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}13 Sep 2021, 15:03:12
{txt}{.-}
{smcl}
{txt}{sf}{ul off}